Systems and methods of check detection

ABSTRACT

A digital image of a check may be divided into segments. The segments may be processed to determine the edges between the background data and the check data in the segments of the digital image. A histogram of each segment may be determined and used to determine the edges of the check image portions in the segments and thus the edges of the check. The data outside the edges of the check image portions in the segments may be considered to be background data and may be identified and/or removed. The segments, with the background data removed, may be recombined into an image of the check and provided into a digital image file that may be transmitted to an institution system for deposit of the check in an account.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. application Ser. No. 12/388,005, filed Feb. 18, 2009, pending, the entirety of which is incorporated herein by reference.

BACKGROUND

Checks typically provide a safe and convenient method for an individual such as a payor to transfer funds to a payee. To use a check, the individual usually opens a checking account, or other similar account, at a financial institution and deposits funds, which are then available for later withdrawal. To transfer funds with a check, the payor usually designates a payee and an amount payable on the check. In addition, the payor often signs the check. Once the check has been signed, it is usually deemed negotiable, meaning the check may be validly transferred to the payee upon delivery. By signing and transferring the check to the payee, the payor authorizes funds to be withdrawn from the payor's account on behalf of the payee.

While a check may provide a payor with a convenient and secure form of payment, receiving a check may put certain burdens on the payee, such as the time and effort required to deposit the check. For example, depositing a check typically involves going to a local bank branch and physically presenting the check to a bank teller. To reduce such burdens for the payee, systems and methods have been developed to enable the remote deposit of checks. For example, the payee may scan a check in a digital image using a scanner or other imaging device and a computing device. The financial institution may then receive from the payee the digital image of the check. The financial institution may then use the digital image to credit funds to the payee.

However, such a technique requires the efficient and accurate detection of a check in the digital image. Detecting and extracting the check image from the background image in the digital image is difficult.

SUMMARY

A digital image of a check may be divided into segments. The segments may be processed to determine the edges between the background data and the check data in the segments of the digital image. The data outside the edges of the check image portions in the segments may be considered to be background data and may be identified and/or removed. The segments, with the background data identified or removed, may be recombined into an image of the check and provided into a digital image file that may be transmitted to an institution system for deposit of the check in an account.

In an implementation, a histogram of each segment may be determined and used to determine the edges of the check image portions in the segments and thus the edges of the check.

In an implementation, after the segments are recombined, corners of the image of the check may be detected and used to process a copy of the digital image. The processed copy may used for deposit of the check in an account.

In an implementation, convolution filtering may be used on each segment to identify and/or remove background data of each segment.

This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.

BRIEF DESCRIPTION OF THE DRAWINGS

The foregoing summary, as well as the following detailed description of illustrative embodiments, is better understood when read in conjunction with the appended drawings. For the purpose of illustrating the embodiments, there are shown in the drawings example constructions of the embodiments; however, the embodiments are not limited to the specific methods and instrumentalities disclosed. In the drawings:

FIG. 1 is a block diagram of an implementation of a system in which example embodiments and aspects may be implemented;

FIG. 2 is a diagram of an example image comprising check data and background data;

FIG. 3 is a diagram of the example image of FIG. 2 divided into segments;

FIG. 4 is a diagram of an example histogram for a segment of an image comprising check data and background data;

FIG. 5 is an operational flow of an implementation of a method that may be used to detect a check;

FIG. 6 is an operational flow of another implementation of a method that may be used to detect a check;

FIG. 7 is an operational flow of another implementation of a method that may be used to detect a check;

FIG. 8 is an operational flow of another implementation of a method that may be used to detect a check; and

FIG. 9 is a block diagram of an example computing environment in which example embodiments and aspects may be implemented.

DETAILED DESCRIPTION

FIG. 1 is a block diagram of an implementation of a system in which example embodiments and aspects may be implemented. A user 105 is shown along with an institution system 205. The institution system 205 may be affiliated with an institution 200, which may be any type of entity capable of processing a transaction involving a negotiable instrument, such as processing checks and/or providing funds associated with checks. For example, the institution 200 may be a financial services institution such as a retail bank, an investment bank, an investment company, a regional branch of the Federal Reserve, a clearinghouse bank and/or a correspondent bank. A representative 185 of the institution 200 may provide assistance.

A negotiable instrument typically includes a type of contract that obligates one party to pay a specified sum of money to another party. Negotiable instruments may include checks, money orders, cashier's checks, drafts, bills of exchange, promissory notes, and the like. A check instructs a financial institution to pay an amount of money from a specific account held in the payor's name with that financial institution to an account held in the payee's name. A money order is a trusted financial instrument that is a payment order for a pre-specified amount of money. It is a more trusted method of payment than a personal check because the funds for the amount shown on the money order must be prepaid. A cashier's check (also known as a bank check, official check, teller's check, bank draft or treasurer's check) is a check guaranteed by a bank and may be purchased from a bank. Cashier's checks are usually treated as cash since most banks clear them instantly.

The user 105 may be an individual or entity who owns an account 165 that may be held at the institution 200 and is accessible via the institution system 205. The account 165 may be any type of account for depositing funds, such as a savings account, a checking account, a brokerage account, and the like. Although only one account 165 is shown, it is contemplated that the user 105 may have any number of accounts held at the institution 200. The user 105 may deposit a check 107 or other negotiable instrument in the account 165 either electronically or physically. The institution 200 may process and/or clear the check 107 or other negotiable instrument.

The user 105 may communicate with the institution 200 and the institution system 205 by way of a communications network 140 such as an intranet, the Internet, a local area network (LAN), a wide area network (WAN), a wireless fidelity (WiFi) network, a public switched telephone network (PSTN), a cellular network, a voice over Internet protocol (VoIP) network, and the like. The user 105 may also communicate with the institution 200 or the institution system 205 by phone, email, instant messaging, text messaging, web chat, facsimile, postal mail, and the like.

The user 105 may remotely electronically deposit the check 107 at the institution 200. It is noted that although examples and implementations described herein may refer to a check, the techniques and systems described herein are contemplated for, and may be used for, any negotiable instrument, such as a money order, a cashier's check, a check guaranteed by a bank, or the like. Similarly, the techniques and systems described herein are contemplated for and may be used with any form or document whose image may be captured with a scanner, camera, or other imaging device for subsequent storage and/or processing.

The user 105 may access the institution 200 via the institution system 205 by opening a communication pathway via the communications network 140 using a user computing device 109. There may be several ways in which the communication pathway may be established, including, but not limited to, an Internet connection via a website 218 of the institution system 205. The user 105 may access the website 218 and log into the website 218 using credentials, such as, but not limited to, a username and a password.

The user 105 may use an imaging device 115, such as a scanner or camera, to generate a digital image of the check 107. The digital image may be used to create a digital image file 135 that may be sent to the institution system 205 and used by the institution 200, in conjunction with the institution system 205, to process a deposit of the check 107 whose image 137 is comprised within the digital image file 135. In an implementation, the digital image file 135 may be augmented by secondary data which may be information relating to the deposit of the check 107, such as an account number and a deposit amount, for example.

The user 105 may place the check 107 on a background and generate a digital image comprising an image of the check (e.g., a check image) and a portion of the background (e.g., a background image) using the imaging device 115 or other device such as a camera that may be standalone or part of a phone or other user computing device. Any background may be used, although a dark background or a consistently colored background may provide more optimal results. In an implementation, white and yellow backgrounds may not be used. It is noted that although examples and implementations described herein may refer to a check image and check data, the term “check image” may refer to any foreground image in a digital image (as opposed to the background image) and the term “check data” may refer to any foreground data in a digital image (as opposed to background data). Thus, the “check image” and the “check data” may refer to the foreground image and foreground data in implementations involving any negotiable instrument, form, or document.

In an implementation, the digital image generated by the imaging device 115 comprises check data and background data. The check data pertains to the check image in the digital image and the background data pertains to the background in the digital image on which the image of the check 107 is disposed. An example of such a digital image is further described with respect to FIG. 2. In an implementation, a minimum ratio of check image size (or area) to background image size (or area) may be provided in the digital image generated by the imaging device 115. Examples include, and are not limited to, at least five percent of the image may comprise a check image, at least one percent of the image may comprise background, the check image may be surrounded by at least one pixel of background all the way around the check image, etc.

As described further herein, the user computing device 109 may comprise an image processing engine 121 that removes some or the entire background data of the digital image generated by the imaging device 115 (or a grayscale image of the digital image generated by the imaging device 115), resulting in an image that has an increased amount of the check image relative to the background image.

The digital image (or a grayscale image of the digital image generated by the imaging device 115) may be divided into plural (i.e., more than one) segments and each segment may be processed to determine the edges between the background image and the check image in the segment. In an implementation, a histogram of each segment may be determined and used to determine the edges of the check image portions in the segments and thus the edges of the check. The data outside the edges of the check image portions in the segments may be considered to be background data and may be identified and/or removed. In an implementation, the segments, with the background data removed, may be recombined into an image 137 of the check 107 and provided into a digital image file 135 that may be transmitted to the institution system 205 for deposit of the check 107 in the account 165.

Thus, the digital image of the check 107 may be divided into segments, processed to remove the background data, and recombined at the user computing device 109 (or the institution system 205 in an implementation). In an implementation, the image processing engine 121 of the user computing device 109 may comprise a grayscale converter 123, an image segmenter 125, a segment processor 127, a segment recombiner 129, and a recombined image processor 131. In an implementation, some of the processes associated with the image processing engine 121 may be executed in parallel. For example, the image segmenter 125 and the segment processor 127, as described further herein, may operate in parallel rather than sequentially.

The grayscale converter 123 may convert the digital image generated by the imaging device 115 to grayscale using known techniques. In photography and computing, a grayscale digital image is an image in which the value of each pixel is a single sample, that is, it carries only intensity information. Images of this sort are composed exclusively of shades of gray, varying from black at the weakest intensity to white at the strongest. Conversion of a color image to grayscale is well known and any known technique(s) may be used.

The grayscale image generated by the grayscale converter 123 may be provided to the image segmenter 125 which may divide the image into a predetermined number of segments, such as 4 segments, 6 segments, 8 segments, etc. Each segment may comprise a portion of the check image (i.e., the check data) and a portion of the background image (i.e., the background data) and an edge between the two portions. The segments may be equal in size or may differ in size. An example of an image divided into segments is further described with respect to FIG. 3.

As described further with respect to the methods 500, 600, 700, and 800 for example, the segment processor 127 may process each of the segments to identify and/or remove background data. In an implementation, histograms may be used to detect or identify background data and check data. The histogram of each segment can be used to determine an edge of the check image in the digital image of the check so that some or the entire background image can be removed or disregarded for subsequent processing.

A histogram is a well known graph and may be used to display where all of the brightness levels contained in an image are found, from the darkest to the brightest. These values may be provided across the bottom of the graph from left (darkest) to right (brightest). The vertical axis (the height of points on the graph) shows how much of the image is found at any particular brightness level. An example of a histogram for a segment of an image comprising check data and background data is further described with respect to FIG. 4.

The segment recombiner 129 may recombine the processed segments to form an image comprising the check. The recombined image processor 131 may process the recombined image (e.g., as described further herein with respect to the methods 500, 600, 700, and 800) and generate a digital image file 135 that may be provided to the institution system 205 for deposit of the check 107 represented as an image 137 in the digital image file 135.

In an implementation, instead of the user computing device 109 performing the image segmentation and segment processing, the image segmentation and segment processing may be performed by the institution system 205 on a digital image file received from the user computing device 109.

The user 105 may thus generate a digital image of the check 107 using the imaging device 115, in an implementation. For example, after endorsing the check 107, the user 105 may use a device such as the imaging device 115 and/or the user computing device 109 for example, to make a digital image of the front sides and/or back sides of the check 107 and storing the digital image(s) in a digital image file. The images of the front side and the back side of the check 107 may be processed using the techniques described herein. The images may be processed as separate files or as images in single file. The images of the front side and the back side of the check 107 may be captured sequentially, e.g., pursuant to the user 105 flipping the check 107 over after an image of the front of the check 107 has been captured.

The digital image file 135 comprising an image 137 of the check may be transmitted to the institution system 205. The user 105 may send the digital image file 135 and any secondary data to the institution system 205 along with a request to deposit the check 107 into an account, such as the account 165. In an implementation, the user 105 may attach the digital image file 135 to an email and send the digital image file 135 to the institution system 205 using the same device used to make the digital image file 135 of the check 107 or another computing device. However, any technique for sending a digital image file 135 to the institution system 205 may be used, such as providing a digital image file 135 from storage to the website 218 associated with the institution system 205.

The institution 200 in conjunction with the institution system 205 may process the deposit request according to the digital image file 135 and any secondary data. Thus, the institution 200 in conjunction with the institution system 205 may process the digital image file 135 comprising the image 137 of the check 107 for deposit.

In an implementation, the institution system 205 may retrieve the image 137 of the check 107 from the digital image file 135 and process the check 107 from the image 137 for deposit. Any image processing technology, software, or other application(s) may be used to retrieve the image 137 of the check 107 from the digital image file 135 and to obtain the relevant data of the check 107 from the digital image file 135. The institution system 205 may determine whether the financial information associated with the check 107 may be valid.

Upon receipt and processing of the digital image file 135 and approval of the check 107 associated therewith, the institution 200 may credit the funds of the check 107 to the account 165. It will be appreciated that the examples herein are for purposes of illustration and explanation only, and that an embodiment is not limited to such examples.

The user computing device 109 may be integral with the device used to make the digital image of the check 107 and/or the digital image file 135 or separate from the device used to make the digital image of the check 107 and/or the digital image file 135. The user computing device 109 may be a personal computer (PC), a handheld computing device, a personal digital assistant (PDA), a mobile phone, or a smartphone, for example. The user computing device 109 may comprise an imaging device 115 such as a camera, scanner, or other device in which an image of the check 107 may be obtained.

In an implementation, the user computing device 109 may be a mobile device that comprises a camera which can capture a digital image of the check 107 by taking a picture of the front and/or back of the check 107. The back of the check may provide endorsement verification, such as the signature of the person or party the check is made out to. The user 105 may send the digital image file 135 to the institution system 205 using the mobile device. An example user computing device 109 is described with respect to FIG. 9. It is contemplated that any device that is capable of generating a digital image may be used to make a digital image of the check 107 which may be processed for sending to the institution system 205 as a digital image file 135. Additional devices that may be used in the generation and/or transmission of a digital image include a digital camera, a photocopier, a fax machine, and the like, for example.

The institution system 205 may include any combination of systems and subsystems such as electronic devices including, but not limited to, computers, servers, databases, or the like. The electronic devices may include any combination of hardware components such as processors, databases, storage drives, registers, cache, random access memory (RAM) chips, data buses, or the like and/or software components such as operating systems, database management applications, or the like. According to an embodiment, the electronic devices may include a network-based server that may process the financial information and may receive the digital image file 135 from the user 105.

The electronic devices may receive the digital image file 135 and may perform an initial analysis on the quality of the image of the check 107 in the digital image file 135, the readability of the data contained therein, or the like. For example, the electronic devices may determine whether the amount payable and other information may be readable such that it may be obtained and processed by the institution 205 to credit the account 165 associated with the user 105.

The institution system 205 may include a user interface module 220, an image processor 222, and a data source access engine 227. The user interface module 220 may generate and format one or more pages of content 219 as a unified graphical presentation that may be provided to the user computing device 109 or a representative computing device 187. In an implementation, the page(s) of content 219 may be provided to the user computing device 109 and/or the representative computing device 187 via a secure website 218 associated with the institution system 205.

In an implementation, the institution system 205 may use the image processor 222 to process the digital image file 135 comprising an image 137 of the check 107 received from the user 105 for use by the institution 200 in the processing and/or clearance of the check 107. The image processor 222 may process multiple frames of the image if the image is comprised of multiple frames (e.g., the front side and the back side of a check).

For example, after receiving the digital image file 135 of the check 107, the image processor 222 may retrieve the image(s) 137 of the check 107 and process the image 137 or an image based on the image 137 for deposit. The image processor 222 may use any known image processing software or other application(s) to obtain the image 137 and any relevant data of the check 107 from the digital image file 135.

The image processor 222 has access to data, files, and documents pertaining to the user 105 as well as any other data, files, and documents that are internal or external to the institution system 205 that may be useful in processing the digital image file 135 and/or the data contained therein.

In an implementation, the image processing engine 121 may be provided at the institution system 105 instead of the user computing device 109. For example, the image processing engine 121, comprising the grayscale converter 123, the image segmenter 125, the segment processor 127, the segment recombiner 129, and the recombined image processor 131, may be comprised within the image processor 222. The functions of the image processing engine 121 may thus be performed at the institution system 105 side as opposed to the user computing device 109 side. In such an implementation, the user computing device 109 may perform some image processing (e.g., the image may be converted to grayscale and compressed) and the resulting processed image may be uploaded to the institution system 105 for processing with the image processing engine 121.

The institution system 205 has the ability to retrieve information from one or more data sources 229 via the data source access engine 227. Data pertaining to the user 105 and/or the user account 165 and/or processing and clearing of a check may be retrieved from data source(s) 229 and/or external data sources. The retrieved data may be stored centrally, perhaps in storage 208. Other information may be provided to the institution system 205 from the user 105 and/or the representative 185.

Data source(s) 229 may contain data, metadata, email, files, and/or documents that the institution system 205 maintains pertaining to the user 105, such as personal data such as name, physical address, email address, etc. and financial data such as credit card numbers and checking account numbers. Such data may be useful for processing the digital image file 135. Additionally or alternatively, the institution 200 or the institution system 205 may access this information when processing or clearing a check.

The representative computing device 187, as well as the user computing device 109, may provide access to a system which is coupled to the institution system 205. A system may be configured to format and transmit a graphical user interface to the representative 185 and/or the user 105, and through the graphical user interface provide the representative 185 and/or the user 105 the ability to interact with information that may be maintained, requested, and/or provided by the institution system 205. As mentioned above, the institution system 205 may provide a unified graphical presentation output. In an implementation, the unified graphical presentation is combined with other materials and transmitted to the representative 185 and/or the user 105.

A user access system may be implemented as a web server in an implementation. The user access system, through the use of any suitable interactive web technology, provides an interactive experience to the user 105 and/or the representative 185 through which access to check processing and clearing data and status and related data can be accomplished. Any technology that provides interactivity through a web browser is considered to be within the scope of the present discussion and may include, without limitation, Hyper-Text Mark-Up Language (HTML), Dynamic HTML (DHTML), JavaScript, and Ajax.

The institution system 205 may comprise one or more computing devices 206. The computing device(s) 206 may have one or more processors 207, storage 208 (e.g., storage devices, memory, etc.), and software modules 209. The computing device(s) 206, including processor(s) 207, storage 208, and software modules 209, may be used in the performance of the techniques and operations described herein.

Examples of software modules 209 may include modules that may be used in conjunction with receiving and processing a digital image file 135 comprising an image 137 of the check 107, retrieving data from the digital image file 135, generating web page content for display, and receiving instructions from the representative 185 or the user 105, for example. While specific functionality is described herein as occurring with respect to specific modules, the functionality may likewise be performed by more, fewer, or other modules. An example computing device and its components are described in more detail with respect to FIG. 9.

FIG. 2 is a diagram of an example image 250 comprising check data 255 (associated with a check image) and background data 260 (associated with a background image). The image 250 may be generated by an imaging device associated with the user computing device 109, such as the imaging device 115. The image 250 comprises check data 255 that is associated with the check 107. The image 250 also comprises background data 260 that is associated with the portion of the image that is not associated with the check 107 (e.g., the background on which the check 107 was placed when the image 250 was generated by the imaging device). An edge 257 separates the check data 255 from the background data 260. The edge 257 may be detected using techniques described herein.

The image 250 may be divided into segments, such as those shown in FIG. 3. FIG. 3 is a diagram of the example image 250 of FIG. 2 divided into segments 310, 320, 330, and 340. Although four segments 310, 320, 330, 340 are shown in FIG. 3, any plural number of segments may be used with techniques described herein. Although the segments 310, 320, 330, 340, are formed by dividing the image 250 into quadrants, the segments may be formed by any techniques, take any shape, and have any area, subject to a constraint that each segment comprises a portion of the check data 255 and a portion of the background data 260 separated by a portion of the edge 257. In this manner, two distinct areas of density corresponding to the background of the image and the check data of the image may be provided in a histogram. In an implementation, each segment only contains a portion of the check data 255 and a portion of the background data 260 separated by a portion of the edge 257 and no additional portions of data (e.g., does not contain additional check data or background data that would give rise to an additional (e.g., a third) distinct area of density in a histogram).

As noted above, a histogram may be generated for each segment and used to distinguish between check data and background data (e.g., by determining an edge between the check image and the background image). FIG. 4 is a diagram of an example histogram 400 for a segment of an image comprising check data and background data (such as one of the segments 310, 320, 330, 340 of FIG. 3). The horizontal axis of the histogram 400 represents the grayscale level between 0 and 255, where 0 represents true black and 255 represents true white. The vertical axis represents the amount of the image at a particular grayscale level of the horizontal axis. Any known technique for generating a histogram for a grayscale image may be used. The histogram 400 shows two distinct areas of density (i.e., two distinct density distributions). The density area 410 closer to the grayscale level of zero corresponds to the background of the image, and the density area 420 closer to the grayscale level of 255 corresponds to the check data.

A threshold point 405 (or threshold level) may be determined between the two areas 410 and 420 and may be taken to correspond to an edge between the background data and the check data. The threshold point 405 may be determined using any known technique for determining a minimum between two curves or areas on a histogram. The threshold point 405 may be determined to be in a valley between the peak of the density area 410 and the peak of the density area 420. In an implementation, the threshold point 405 may be determined using the slopes of the two curves corresponding to the areas 410 and 420.

The threshold point 405 may be used to separate the check image from the background image. In an implementation, the portion of the image corresponding to the area to the left of the threshold point 405 may be filtered out of the segment, thereby leaving the check data (and thus the check image) in the segment. In an implementation, thresholding may be accomplished by flooring the values to the left of the threshold point 405, where flooring is making all pixels values in the image 0 (i.e., black) to the left of the threshold point 405, and raising all pixel values to the right of the threshold point 405 to equal 255 (i.e., white) (Range: threshold point to 255).

FIG. 5 is an operational flow of an implementation of a method 500 that may be used to detect a check. At 502, an account owner (i.e., the payee, referred to herein as a user) may receive a check from a third party (i.e., the payor) and may endorse the check by signing the back of the check in the designated field. If the user wishes to deposit the check into an account, such as a savings and/or checking account, they also may write an account number below the signature.

At 504, the user may open a communication pathway with an institution that may be associated with an account for depositing funds by logging into a website of the institution, for example. There may be several ways in which a communication pathway may be established, including, but not limited to, an Internet connection via a website of the institution. The user may access the website and log into the website using credentials, such as, but not limited to, a username and a password.

At 506, the user may send a request to deposit the check and may select an account in which to deposit the check. In an implementation, the user may select a “deposit check” option provided on the website, and may enter details such as check amount, date, the account the check funds should be deposited in, comments, etc.

At 510, a digital image of the check may be created. There may be several ways in which to create a digital image of the check, including, but not limited to, a scanner, a digital camera, and/or a personal computer (PC). The user may place the check on a background and use the scanner, camera, or other imaging device to create a digital image comprising an image of the check and background. In an implementation, the user may scan or otherwise create a digital image file comprising the front side of the check and the back side of the check.

In an implementation, the user may use a template (e.g., provided by the institution) to arrange the check for scanning. In this manner, the image may comprise the check image in a predetermined position or arrangement that may be easier for the user computing device and/or the institution to identify and/or process.

Alternatively, the user may insert the check into a holder (e.g., provided by the institution). The check may be inserted in the holder in a predetermined position or manner. For example, the check or features of the check such as one or more corners of the check, the signature line, the MICR (magnetic ink character recognition) line, etc., may be aligned with respect to one or more markings or indicators on the holder. It is contemplated that different holders may be used for the front side of the check and for the back side of the check. The positioning or alignment may allow for more efficient processing of the check by the user computing device and/or the institution.

At 520, the image may be converted into grayscale using any known technique. In an implementation, the user computing device may perform the conversion. The resulting grayscale image may be divided into segments at 530. As noted above, the grayscale image may be divided into any plural number of segments of any size or shape subject to the constraint that each segment comprises a portion of the image of the background and a portion of the image of the check with an edge between the two portions.

At 540, a histogram for each segment may be obtained using any known technique(s). For each segment, at 550, a threshold point or level on the histogram may be determined, e.g., between data representing the background and data representing the check. In an implementation, a threshold level may correspond to a threshold point that may be determined as a minimum between the two dense areas on the histogram, described further with respect to FIG. 4.

The background data of each segment may be identified and/or removed at 560. The background data may be identified using the threshold point or level and may be removed from the segment using any known data removal technique(s). In an implementation the segments may be converted to binary image data using the threshold. In an implementation, the data of the image corresponding to the background image (e.g., to the left of the threshold point or level) in the histogram may be scaled such that it becomes black.

The segments may be recombined at 570 by rejoining the segments at the points of division that were used at 530. In an implementation, the segments may be recombined without the background data (e.g., that has been identified and/or removed). In this manner, in an implementation, an image may be formed that primarily comprises check data and comprises very little, if any, background data.

In an implementation, at 580, the image formed by the recombined segments may be processed, e.g., to remove warping or dewarp the image, to crop the image, to deskew the image (e.g., rotate the image to horizontal), to identify the corners, etc. In an implementation, certain points or features (e.g., MICR number, “$” sign, signature line, courtesy amount line, legal amount line, etc.) of the check may be identified and used in lining up or otherwise arranging or processing the image of the check. It is contemplated that any points, coordinates, features, or regions of interest on a negotiable instrument may be used with the techniques described herein. Additionally or alternatively, processing may be performed to remove any background data that was not removed at 560. Additionally, edge detection may be used to identify the edges of the image of the check. Any known edge detection technique may be used.

The resulting image may be saved as a digital image file and sent to the institution at 592. The digital image file may be sent using various means, including, but not limited to, an Internet connection via the website or a cellular transmission. Additionally, the digital image file may be augmented by secondary data which may be information relating to the check, such as an account number, a deposit amount, or a routing number associated with the check, and/or relating to the account for depositing funds, such as the account number and/or the name on the account. The secondary data may be provided to the institution via an image file, an email, a facsimile, instant message, text message, or selection via a website associated with the institution (e.g., after the user opens a communication pathway with the institution, before or after the user sends the digital image file the institution, etc.), for example.

At 594, the institution may receive the digital image file of the recombined segments of the check (along with financial information pertaining to the account for depositing funds and any secondary data in an implementation) and may process the digital image file. Processing of the digital image file may include retrieving financial information regarding the check. The financial information may comprise the MICR number, the routing number, an amount, etc. Any known image processing technology may be used, such as edge detection, filtering to remove imagery except the check image or check data in the received digital image file, image sharpening, and technologies to distinguish between the front and the back sides of the check. The institution may identify and/or remove at least a portion of data that is extraneous to the check, such as background data.

After retrieving the financial information from the check in an electronic data representation form, the institution may determine whether the financial information such as the amount payable to the user, the account associated with the user to deposit funds, an account associated with a payor to debit funds, and an institution associated with the payor, etc., may be valid. For example, the institution may include electronic devices such as computers, servers, databases, or the like that may be in communication with each other. The electronic devices may receive an electronic data representation and may perform an initial analysis on the quality of the data representation, the readability of the data representation, or the like. For example, the electronic devices may determine whether the account number, amount payable, or the like may be readable such that they may be parsed and processed by the institution to credit an account associated with the user.

If the financial information is determined to be valid, the electronic data representation may be processed by the institution, thereby depositing the money in the user's account. If the financial information is determined to be invalid, then the user may be advised For example, the institution may transmit an email, a web message, an instant message, or the like to the user indicating that the financial information associated with the electronic data representation may be invalid. The user may determine how to proceed by selecting an option on the web message, replying to the email, or the like.

Thus, in an implementation, instructions on how the user would like to proceed may be requested from the user, such as whether the user would like to try the deposit again (e.g., make another digital image file and send it to the institution) or whether the user would like assistance from a representative, for example. The user may indicate how they would like to proceed.

If the user would like assistance, the financial information may be transferred to a representative for further review. The representative may review the financial information associated with the electronic data representation to determine whether to allow the electronic data representation to be processed by the institution. If so, the electronic data representation of the financial information may be processed by the institution, thereby depositing the check in the user's account. The institution may send a notice to the user via email, facsimile, instant message, or mail, for example, that the check has been deposited into the selected account.

FIG. 6 is an operational flow of another implementation of a method 600 that may be used to detect a check. Similar to 510 and 520 of the method 500, a digital image may be created at 610 and converted into grayscale at 620. Additionally, a copy of the grayscale image may be saved in storage, e.g., associated with the user computing device.

Similar to the method 500, the resulting grayscale image may be divided into segments at 630, a histogram for each segment may be obtained using any known technique(s) at 640, and for each segment, at 650, a threshold point or level may be determined, e.g., between data representing the background and data representing the check. At 660, the background data of each segment may be identified and/or removed. These operations are similar to those described at 530, 540, 550, and 560, respectively, and their further descriptions are omitted for brevity.

At 670, the segments may be recombined to form a recombined image by rejoining the segments at the points of division that were used at 630. At 680, the corners of the recombined image may be determined using any known corner detection technique(s). At 690, the copy of the grayscale image that had been saved at 620 may be retrieved from storage. The retrieved copy of the image may be dewarped using the corners determined in the recombined image, and may also be cropped using the corners determined in the recombined image. Additional processing may be performed on the retrieved copy of the image. The retrieved grayscale image that has been processed (e.g., dewarped, cropped, etc.) may be stored as a digital image file and provided to the institution for deposit of the associated check. In implementation, processing may continue at 592.

In an implementation, convolution filtering may be used in place of histogram thresholding in identifying background data and check data in a digital image of a check. FIG. 7 is an operational flow of another implementation of a method 700 that may be used to detect a check. Similar to the 510 and 520 of the method 500, a digital image may be created at 710 and converted into grayscale at 720. At 730, the resulting grayscale image may be divided into segments, similar to 530.

At 740, each segment may be filtered using a convolution matrix designed to filter and strip out data from each segment. A convolution matrix is a matrix, formed from a vector, whose inner product with another vector is the convolution of the two vectors. Any known convolution matrix filtering technique(s) may be used. In this manner, data such as the background data may be removed from each segment.

At 750, the segments may be recombined to form a recombined image by rejoining the segments at the points of division that were used at 730. At 780, the image formed by the recombined segments may be processed, e.g., to remove warping or dewarp the image, to crop the image, to rotate the image to horizontal, to identify the corners, etc. Additionally or alternatively, processing may be performed to remove any background data that was not removed at 740. The resulting image may be saved as a digital image file and sent to the institution for deposit of the check represented in the digital image file.

In an implementation, instead of using histogram thresholding, the grayscale image may be blurred, divided into segments, and processed. FIG. 8 is an operational flow of another implementation of a method 800 that may be used to detect a check. Similar to the 510 and 520 of the method 500, a digital image may be created at 810 and converted into grayscale at 820.

At 830, the grayscale image may be blurred a predetermined amount. The predetermined amount of blurring may be performed using any known technique(s). For example, a Gaussian blur technique may be used. Gaussian blur describes blurring an image by a Gaussian function. It is a widely used effect in graphics software, typically to reduce image noise and reduce detail and enhance image structures.

At 840, the resulting blurred grayscale image may be divided into segments. Processing may be performed at 850 to identify and/or remove background data. Any processing technique(s), such as those described above, may be used. At 860, the segments may be recombined to form a recombined image, and at 870, the image formed by the recombined segments may be processed as described further above. The resulting image may be saved as a digital image file and sent to the institution for deposit of the check represented in the digital image file.

Although the examples described herein may refer to dividing a check into segments prior to electronically presenting the check for deposit, it is contemplated that any negotiable instrument may be processed using the techniques described herein. Additionally, one or more of the techniques described herein may be performed by the institution instead of the user computing device.

FIG. 9 shows an exemplary computing environment in which example embodiments and aspects may be implemented. The computing system environment is only one example of a suitable computing environment and is not intended to suggest any limitation as to the scope of use or functionality.

Numerous other general purpose or special purpose computing system environments or configurations may be used. Examples of well known computing systems, environments, and/or configurations that may be suitable for use include, but are not limited to, personal computers, server computers, handheld or laptop devices, multiprocessor systems, microprocessor-based systems, network PCs, minicomputers, mainframe computers, embedded systems, distributed computing environments that include any of the above systems or devices, and the like.

Computer-executable instructions, such as program modules, being executed by a computer may be used. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. Distributed computing environments may be used where tasks are performed by remote processing devices that are linked through a communications network or other data transmission medium. In a distributed computing environment, program modules and other data may be located in both local and remote computer storage media including memory storage devices.

With reference to FIG. 9, an exemplary system for implementing aspects described herein includes a computing device, such as computing device 900. In its most basic configuration, computing device 900 typically includes at least one processing unit 902 and system memory 904. Depending on the exact configuration and type of computing device, system memory 904 may be volatile (such as RAM), non-volatile (such as read-only memory (ROM), flash memory, etc.), or some combination of the two. This most basic configuration is illustrated in FIG. 9 by dashed line 906.

Computing device 900 may have additional features and/or functionality. For example, computing device 900 may include additional storage (removable and/or non-removable) including, but not limited to, magnetic or optical disks or tape. Such additional storage is illustrated in FIG. 9 by removable storage 908 and non-removable storage 910.

Computing device 900 typically includes a variety of computer-readable media. Computer-readable media can be any available media that can be accessed by computing device 900 and includes both volatile and non-volatile media, and removable and non-removable media. By way of example, and not limitation, computer-readable media may comprise computer storage media and communication media.

Computer storage media include volatile and non-volatile, and removable and non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, program modules or other data. System memory 904, removable storage 908, and non-removable storage 910 are all examples of computer storage media. Computer storage media include, but are not limited to, RAM, ROM, Electrically Erasable Programmable Read-Only Memory (EEPROM), flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by computing device 900. Any such computer storage media may be part of computing device 900.

Computing device 900 may also contain communication connection(s) 912 that allow the computing device 900 to communicate with other devices. Communication connection(s) 912 is an example of communication media. Communication media typically embody computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and include any information delivery media. The term “modulated data signal” means a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, communication media include wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, radio frequency (RF), infrared, and other wireless media. The term computer-readable media as used herein includes both storage media and communication media.

Computing device 900 may also have input device(s) 914 such as a keyboard, mouse, pen, voice input device, touch input device, etc. Output device(s) 916 such as a display, speakers, printer, etc. may also be included. All these devices are well known in the art and need not be discussed at length here.

Computing device 900 may be one of a plurality of computing devices 900 inter-connected by a network. As may be appreciated, the network may be any appropriate network, each computing device 900 may be connected thereto by way of communication connection(s) 912 in any appropriate manner, and each computing device 900 may communicate with one or more of the other computing devices 900 in the network in any appropriate manner. For example, the network may be a wired or wireless network within an organization or home or the like, and may include a direct or indirect coupling to an external network such as the Internet or the like.

It should be understood that the various techniques described herein may be implemented in connection with hardware or software or, where appropriate, with a combination of both. Thus, the methods and apparatus of the presently disclosed subject matter, or certain aspects or portions thereof, may take the form of program code (i.e., instructions) embodied in tangible media, such as floppy diskettes, CD-ROMs, hard drives, or any other machine-readable storage medium wherein, when the program code is loaded into and executed by a machine, such as a computer, the machine becomes an apparatus for practicing the presently disclosed subject matter. In the case of program code execution on programmable computers, the computing device generally includes a processor, a storage medium readable by the processor (including volatile and non-volatile memory and/or storage elements), at least one input device, and at least one output device. One or more programs may implement or utilize the processes described in connection with the presently disclosed subject matter, e.g., through the use of an application programming interface (API), reusable controls, or the like. Such programs may be implemented in a high level procedural or object-oriented programming language to communicate with a computer system. However, the program(s) can be implemented in assembly or machine language, if desired. In any case, the language may be a compiled or interpreted language and it may be combined with hardware implementations.

Although exemplary embodiments may refer to utilizing aspects of the presently disclosed subject matter in the context of one or more stand-alone computer systems, the subject matter is not so limited, but rather may be implemented in connection with any computing environment, such as a network or distributed computing environment. Still further, aspects of the presently disclosed subject matter may be implemented in or across a plurality of processing chips or devices, and storage may similarly be effected across a plurality of devices. Such devices might include personal computers, network servers, and handheld devices, for example.

Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims. 

What is claimed is:
 1. A non-transitory computer-readable medium comprising computer-readable instructions for document detection, the computer-readable instructions comprising instructions for causing a processor to: divide a grayscale image of a digital image into a plurality of segments, wherein the digital image includes a document image representing a document and a background image representing a background, each of the plurality of segments comprising at least a part of the document image; apply a convolution filter to each of the plurality of segments by: generating a plurality of filtered segments based on a product of the plurality of segments with a convolution matrix, each of the plurality of filtered segments comprising at least a part of a filtered document image representing the document; differentiating a filtered background image from the filtered document image in the plurality of filtered segments, wherein the filtered background image is representative of the background; identifying filtered background images in the plurality of filtered segments; removing the identified filtered background images from the plurality of filtered segments; and recombine the plurality of filtered segments to form a digital image file comprising parts of the filtered document image representing the document.
 2. The computer-readable medium of claim 1, further comprising instructions for causing the processor to transmit the digital image file to an institution for processing of the document represented by the document image.
 3. The computer-readable medium of claim 1, wherein the convolution filter comprises a convolution matrix formed from a vector.
 4. The computer-readable medium of claim 1, comprising instructions to dewarp the digital image after recombining the segments.
 5. A system for document detection, comprising: a memory; a processor disposed in communication with the memory, and configured to execute a plurality of processing instructions stored in the memory, wherein the processor is configured to: create a digital image representative of a document, the digital image comprising a document image representing the document and a background image representing a background; convert the digital image to a grayscale image; divide the grayscale image into a plurality of segments, each segment comprising a portion of the document image and a portion of the background image; apply a convolution filter to each of the plurality of segments by: generating a plurality of filtered segments based on a product of the plurality of segments with a convolution matrix, each of the plurality of filtered segments comprising at least a part of a filtered document image representing the document; differentiating a filtered background image from the filtered document image in the plurality of filtered segments, wherein the filtered background image is representative of the background; identifying filtered background images in the plurality of filtered segments; removing the identified filtered background images from the plurality of filtered segments; and recombine the plurality of filtered segments to form a digital image file comprising parts of the filtered document image representing the document.
 6. The system of claim 5, wherein the processor is further configured to transmit the digital image file to an institution for processing of the document represented by the document image.
 7. The system of claim 5, wherein the processor is further configured to: detect a plurality of corners in the filtered document image formed from the recombined plurality of filtered segments; and dewarp and crop the copy of the filtered document image using the detected corners of the image.
 8. The system of claim 5, wherein the document comprises a financial document.
 9. The system of claim 8, wherein the financial document comprises a check.
 10. The system of claim 8, wherein the processor is further configured to deposit the financial document into an account using the digital image file.
 11. The system of claim 5, wherein the convolution filter comprises a convolution matrix formed from a vector.
 12. The system of claim 5, wherein the processor is further configured to recombine the plurality of filtered segments after identifying the filtered background images in each of the plurality of filtered segments.
 13. The system of claim 5, wherein the memory and the processor are part of a mobile user computing device.
 14. The system of claim 13, wherein the mobile user computing device comprises a smartphone.
 15. A method for document detection in a computing device having a processor and a memory, the method comprising the processor of the computing device: creating a digital image representative of a document, the digital image comprising a document image representing the document and a background image representing a background; converting the digital image to a grayscale image; dividing the grayscale image into a plurality of segments, each segment comprising a portion of the document image and a portion of the background image; applying a convolution filter to each of the plurality of segments by: generating a plurality of filtered segments based on a product of the plurality of segments with a convolution matrix, each of the plurality of filtered segments comprising at least a part of a filtered document image representing the document; differentiating a filtered background image from the filtered document image in the plurality of filtered segments, wherein the filtered background image is representative of the background; identifying filtered background images in the plurality of filtered segments; removing the identified filtered background images from the plurality of filtered segments; and recombining the plurality of filtered segments to form a digital image file comprising parts of the filtered document image representing the document.
 16. The method of claim 15, further comprising transmitting the digital image file to an institution for processing of the document represented by the document image.
 17. The method of claim 15, wherein the computing device comprises a mobile device and wherein creating the digital image representative of the document further comprises the processor controlling a camera of the mobile device to capture the digital image.
 18. The method of claim 15, wherein the document comprises a financial document.
 19. The method of claim 18, wherein the financial document comprises a check.
 20. The method of claim 18, further comprising the processor depositing the financial document into an account using the digital image file. 